﻿
using UnityEngine;

namespace XFGameFramework.TweenSystem
{

    /// <summary>
    /// Component拓展
    /// </summary>
    public static class ComponentExtensions 
    {

        /// <summary>
        /// 停止该组件所有动画播放
        /// </summary>
        public static void KillAll(this Component component)
        {
            TweenManager.KillAll(component.gameObject);
        }
    } 
}

